         <!--Start Find Gift Fast-->
<div class="container166 bgColorF0EEED BorderGrayTBLR roundBorderTopLeft maginT18 padding5">
    <h3 class="hdgDgray16Normal txt_Aright paddingT4 fontWight-bold paddingR10">Find a Gift Fast</h3>
    <form action="<?php echo str_replace('&', '&amp;', $FindGift); ?>" method="POST" id="formfindgift">   
 <?php
 if(isset($filter_category_id)){
     $filter_category_id=$filter_category_id;
 }else{
     $filter_category_id="";
 }
 ?>
<div class="paddingTB15">
        <p class="paddingB10">
            <label class="paddingL2">Where is it going?</label>
            <input name="filter_name" class="inputW150H13" type="text" />
        </p>
        <p class="paddingB10">
            <label class="paddingL2">What's the occasion?</label>
            <select class="selectW160H25P3" name="filter_category_id">
        <option value="0">Select occasion</option>
        <?php foreach ($categories as $category_1) { ?>
        <?php if ($category_1['category_id'] == $filter_category_id) { ?>
        <option value="<?php echo $category_1['category_id']; ?>" selected="selected"><?php echo $category_1['name']; ?></option>
        <?php } else { ?>
        <option value="<?php echo $category_1['category_id']; ?>"><?php echo $category_1['name']; ?></option>
        <?php } ?>
        <?php foreach ($category_1['children'] as $category_2) { ?>
        <?php if ($category_2['category_id'] == $filter_category_id) { ?>
        <option value="<?php echo $category_2['category_id']; ?>" selected="selected">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $category_2['name']; ?></option>
        <?php } else { ?>
        <option value="<?php echo $category_2['category_id']; ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $category_2['name']; ?></option>
        <?php } ?>
        <?php foreach ($category_2['children'] as $category_3) { ?>
        <?php if ($category_3['category_id'] == $filter_category_id) { ?>
        <option value="<?php echo $category_3['category_id']; ?>" selected="selected">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $category_3['name']; ?></option>
        <?php } else { ?>
        <option value="<?php echo $category_3['category_id']; ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $category_3['name']; ?></option>
        <?php } ?>
        <?php } ?>
        <?php } ?>
        <?php } ?>
      </select>
            
        </p>
        <p class="paddingB10">
            <label class="paddingL2">When should it arrive?</label>
            <input name="filter_tag" class="inputW150H13 when_shold_arrive" type="text" />
        </p>
        <p class="ft_rt paddingR11">
        <a href="javascript:void(0)" class="buttonAll">
<input  class="trans-button ft_lt buttonAllsubmit" value="SEARCH" type="submit" /><span></span></a>
          </p>
        <div class="clear"></div>
    </div>
</form>
</div>
         <script type="text/javascript"><!--
$(document).ready(function() {
	$('.when_shold_arrive').datepicker({dateFormat: 'yy-mm-dd'});
});
//--></script> 
<!--End Find Gift Fast-->